all: program

program: main.o gcd.o
	g++ main.o gcd.o -o program
main.o: main.cpp gcd.h
	g++ -c main.cpp
gcd.o: gcd.cpp 
	g++ -c gcd.cpp

run: program
	./program
clean: 
	rm *.o program
